<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./TemplatePrincipalY.xhtml">

            <ui:define name="top">
             
            </ui:define>

            <ui:define name="left">
           <h:form>
               <p:commandButton action="MenuPrincipal" value ="Principal" immediate="true" ajax="false"/>
           </h:form>
            </ui:define>

            <ui:define name="content">
                <f:view>
                    <h:form>
                     
                        <h1><h:outputText value="Confirmar"/></h1>
                        <p:panelGrid columns="2">
                            <h:outputText value="Catigoria:"/>
                            <h:outputText value="#{interesBean.interes.catigoria}" title="Catigoria"/>
                            <h:outputText value="Descripcion:"/>
                            <h:outputText value="#{interesBean.interes.descripcion}" title="Descripcion"/>
                            <h:outputText value="Persona:"/>
                            <h:outputText value="#{interesBean.personaId}" title="Personaid"/>
                           
                        </p:panelGrid>
                   
                    <p:commandButton value="Aceptar" action="#{interesBean.procesarAccion}" ajax="false"/>
                    <p:commandButton value="Cancelar" action="#{interesBean.procesarCancelar}" ajax="false" immediate="true"/>
                     </h:form>
                </f:view>

            </ui:define>

           
        </ui:composition>

    </body>
</html>
